package com.svse.designPattern.behaviour.chainofresponsibility.service;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/8/8 10:52
 */
abstract public class Leader {
    private Leader nextLeader;

    public Leader getNextLeader() {
        return nextLeader;
    }

    public void setNextLeader(Leader nextLeader) {
        this.nextLeader = nextLeader;
    }
    abstract public void vacate(int days);

}
